<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="Plane3D,org.papervision3d.core.math.Plane3D,d,eps,flipPlane,normal,clone,closestPointOnPlane,distance,fromCoefficients,fromNormalAndPoint,fromThreePoints,getFlip,getIntersectionLine,getIntersectionLineNumbers,getTempFlip,isCoplanar,isCoplanarOpposite,normalize,pointOnSide,projectPoints,setCoefficients,setNormalAndPoint,setThreePoints,toString,vertDistance" name="keywords">
<title>org.papervision3d.core.math.Plane3D</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'Plane3D - Papervision3D 官方文档';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Papervision3D 官方文档</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">全部包</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">全部类</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">引索</a>&nbsp;|&nbsp;<a href="../../../../index.html?org/papervision3d/core/math/Plane3D.html&amp;org/papervision3d/core/math/class-list.html" id="framesLink1">框架</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">无框架</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">类&nbsp;Plane3D</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">属性</a>&nbsp;| <a href="#methodSummary">方法</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("类 Plane3D"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">包</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">org.papervision3d.core.math</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">类</td><td class="classSignature">public class Plane3D</td>
</tr>
</table>
<p></p>
 <p>The Plane3D class represents a plane in 3D space. </p>
 <p>Plane3D类构筑3d空间内的平面</p>
 <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">公共属性</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">属性</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#d">d</a> : Number<div class="summaryTableDescription">
   D.</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#eps">eps</a> : Number = 0.01<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#normal">normal</a> : <a href="../math/Number3D.html">Number3D</a>
<div class="summaryTableDescription">
  The plane normal (A, B, C).平面法向</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
</table>
</div>
<a name="protectedPropertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">保护属性</div>
<table id="summaryTableProtectedProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">属性</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#flipPlane">flipPlane</a> : <a href="../math/Plane3D.html">Plane3D</a>
<div class="summaryTableDescription">[静态]</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">公共方法</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">方法</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#Plane3D()">Plane3D</a>(normal:<a href="Number3D.html">Number3D</a> = null, ptOnPlane:<a href="Number3D.html">Number3D</a> = null)</div>
<div class="summaryTableDescription">
   构造函数.</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#clone()">clone</a>():<a href="../math/Plane3D.html">Plane3D</a>
</div>
<div class="summaryTableDescription">
   
   </div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#closestPointOnPlane()">closestPointOnPlane</a>(point:<a href="Number3D.html">Number3D</a>, ptOnPlane:<a href="Number3D.html">Number3D</a>):<a href="../math/Number3D.html">Number3D</a>
</div>
<div class="summaryTableDescription">
   <p>Get the closest point on the plane.</p>
   <p>获取平面上最近的点</p>
</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#distance()">distance</a>(pt:*):Number</div>
<div class="summaryTableDescription">
   <p>distance of point to plane.</p>
   <p>点到面的距离</p>
</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#fromCoefficients()">fromCoefficients</a>(a:Number, b:Number, c:Number, d:Number):<a href="../math/Plane3D.html">Plane3D</a>
</div>
<div class="summaryTableDescription">
  <p>[静态]
    Creates a plane from coefficients.</p>
  <p>从系数中创建平面</p>
</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#fromNormalAndPoint()">fromNormalAndPoint</a>(normal:*, point:*):<a href="../math/Plane3D.html">Plane3D</a>
</div>
<div class="summaryTableDescription">
  <p>[静态]
    Creates a plane from a normal and a point.</p>
  <p>以一个法向和一个点创建一个平面</p>
</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#fromThreePoints()">fromThreePoints</a>(p0:*, p1:*, p2:*):<a href="../math/Plane3D.html">Plane3D</a>
</div>
<div class="summaryTableDescription">[静态]
   Creates a plane from three points.三点创建面</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getFlip()">getFlip</a>():<a href="../math/Plane3D.html">Plane3D</a>
</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getIntersectionLine()">getIntersectionLine</a>(v0:<a href="../geom/renderables/Vertex3D.html">Vertex3D</a>, v1:<a href="../geom/renderables/Vertex3D.html">Vertex3D</a>):<a href="../geom/renderables/Vertex3D.html">Vertex3D</a>
</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getIntersectionLineNumbers()">getIntersectionLineNumbers</a>(v0:<a href="Number3D.html">Number3D</a>, v1:<a href="Number3D.html">Number3D</a>):<a href="../math/Number3D.html">Number3D</a>
</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getTempFlip()">getTempFlip</a>():<a href="../math/Plane3D.html">Plane3D</a>
</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#isCoplanar()">isCoplanar</a>(plane:<a href="Plane3D.html">Plane3D</a>):Boolean</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#isCoplanarOpposite()">isCoplanarOpposite</a>(plane:<a href="Plane3D.html">Plane3D</a>):Boolean</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#normalize()">normalize</a>():void</div>
<div class="summaryTableDescription">
   normalize.标准化</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#pointOnSide()">pointOnSide</a>(num:<a href="Number3D.html">Number3D</a>):int</div>
<div class="summaryTableDescription">
   Gets the side a vertex is on.获取顶点所在的边</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#projectPoints()">projectPoints</a>(points:Array, origin:<a href="Number3D.html">Number3D</a> = null):void</div>
<div class="summaryTableDescription">
   Projects points onto this plane.投影点到平面上</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setCoefficients()">setCoefficients</a>(a:Number, b:Number, c:Number, d:Number):void</div>
<div class="summaryTableDescription">
   Sets this plane from ABCD coefficients.以abcd四个参数来创建平面</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setNormalAndPoint()">setNormalAndPoint</a>(normal:<a href="Number3D.html">Number3D</a>, pt:<a href="Number3D.html">Number3D</a>):void</div>
<div class="summaryTableDescription">
   Sets this plane from a normal and a point.以一个法向和一个点来创建平面</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setThreePoints()">setThreePoints</a>(p0:<a href="Number3D.html">Number3D</a>, p1:<a href="Number3D.html">Number3D</a>, p2:<a href="Number3D.html">Number3D</a>):void</div>
<div class="summaryTableDescription">
   Sets this plane from three points.三点构筑平面</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#toString()">toString</a>():String</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#vertDistance()">vertDistance</a>(pt:<a href="../geom/renderables/Vertex3D.html">Vertex3D</a>):Number</div>
<div class="summaryTableDescription">
   distance of vertex to plane, optimized.点到平面的距离</div>
</td><td class="summaryTableOwnerCol">Plane3D</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">属性详细信息</div>
<a name="d"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">d</td><td class="detailHeaderType">属性</td>
</tr>
</table>
<div class="detailBody">
<code>public var d:Number</code><p>
   D.
   </p></div>
<a name="eps"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">eps</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var eps:Number = 0.01</code>
</div>
<a name="flipPlane"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">flipPlane</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected static var flipPlane:<a href="../math/Plane3D.html">Plane3D</a></code>
</div>
<a name="normal"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">normal</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var normal:<a href="../math/Number3D.html">Number3D</a></code>
<p>
  The plane normal (A, B, C).
  平面法向</p></div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">构造函数详细信息</div>
<a name="Plane3D()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">Plane3D</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">构造函数</td>
</tr>
</table>
<div class="detailBody">
<code>public function Plane3D(normal:<a href="Number3D.html">Number3D</a> = null, ptOnPlane:<a href="Number3D.html">Number3D</a> = null)</code><p>
   构造函数.
      </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><p><code><span class="label">normal</span>:<a href="Number3D.html">Number3D</a></code> (default = <code>null</code>)<code></code> &mdash;  The plane normal.
</p>
  <p>平面法向</p></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><p><code><span class="label">ptOnPlane</span>:<a href="Number3D.html">Number3D</a></code> (default = <code>null</code>)<code></code> &mdash; A point on the plane.</p>
  <p>平面上的点</p></td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">方法详细信息</div>
<a name="clone()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">clone</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td>
</tr>
</table>
<div class="detailBody">
<code>public function clone():<a href="../math/Plane3D.html">Plane3D</a></code><p>
   
   </p><p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../math/Plane3D.html">Plane3D</a></code></td>
</tr>
</table>
</div>
<a name="closestPointOnPlane()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">closestPointOnPlane</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function closestPointOnPlane(point:<a href="Number3D.html">Number3D</a>, ptOnPlane:<a href="Number3D.html">Number3D</a>):<a href="../math/Number3D.html">Number3D</a></code>
<p>
   Get the closest point on the plane.
      获取平面上最近的点</p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td>
<td><code><span class="label">point</span>:<a href="Number3D.html">Number3D</a></code> &mdash;  The point to 'project'.
   要“投影”的点</td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><p><code><span class="label">ptOnPlane</span>:<a href="Number3D.html">Number3D</a></code> &mdash; ptOnPlane A known point on the plane.</p>
  <p>一个在平面上已知的点</p></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../math/Number3D.html">Number3D</a></code></td>
</tr>
</table>
</div>
<a name="distance()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">distance</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function distance(pt:*):Number</code><p>
   distance of point to plane.
   
   </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">pt</span>:*</code></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Number</code></td>
</tr>
</table>
</div>
<a name="fromCoefficients()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fromCoefficients</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function fromCoefficients(a:Number, b:Number, c:Number, d:Number):<a href="../math/Plane3D.html">Plane3D</a></code><p>
   Creates a plane from coefficients.
      </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">a</span>:Number</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">b</span>:Number</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">c</span>:Number</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">d</span>:Number</code></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../math/Plane3D.html">Plane3D</a></code> &mdash; 
                        The created plane.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="fromNormalAndPoint()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fromNormalAndPoint</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function fromNormalAndPoint(normal:*, point:*):<a href="../math/Plane3D.html">Plane3D</a></code><p>
   Creates a plane from a normal and a point.
      </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">normal</span>:*</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">point</span>:*</code></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../math/Plane3D.html">Plane3D</a></code> &mdash; 
                        The created plane.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="fromThreePoints()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fromThreePoints</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function fromThreePoints(p0:*, p1:*, p2:*):<a href="../math/Plane3D.html">Plane3D</a></code><p>
   Creates a plane from three points.
      </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">p0</span>:*</code> &mdash; First point.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">p1</span>:*</code> &mdash; Second point.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">p2</span>:*</code> &mdash; Third point.
      </td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../math/Plane3D.html">Plane3D</a></code> &mdash; 
                        The created plane.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="getFlip()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getFlip</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getFlip():<a href="../math/Plane3D.html">Plane3D</a></code>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../math/Plane3D.html">Plane3D</a></code></td>
</tr>
</table>
</div>
<a name="getIntersectionLine()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getIntersectionLine</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getIntersectionLine(v0:<a href="../geom/renderables/Vertex3D.html">Vertex3D</a>, v1:<a href="../geom/renderables/Vertex3D.html">Vertex3D</a>):<a href="../geom/renderables/Vertex3D.html">Vertex3D</a></code><p></p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">v0</span>:<a href="../geom/renderables/Vertex3D.html">Vertex3D</a></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">v1</span>:<a href="../geom/renderables/Vertex3D.html">Vertex3D</a></code></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../geom/renderables/Vertex3D.html">Vertex3D</a></code></td>
</tr>
</table>
</div>
<a name="getIntersectionLineNumbers()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getIntersectionLineNumbers</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getIntersectionLineNumbers(v0:<a href="Number3D.html">Number3D</a>, v1:<a href="Number3D.html">Number3D</a>):<a href="../math/Number3D.html">Number3D</a></code><p></p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">v0</span>:<a href="Number3D.html">Number3D</a></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">v1</span>:<a href="Number3D.html">Number3D</a></code></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../math/Number3D.html">Number3D</a></code></td>
</tr>
</table>
</div>
<a name="getTempFlip()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getTempFlip</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getTempFlip():<a href="../math/Plane3D.html">Plane3D</a></code>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../math/Plane3D.html">Plane3D</a></code></td>
</tr>
</table>
</div>
<a name="isCoplanar()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">isCoplanar</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function isCoplanar(plane:<a href="Plane3D.html">Plane3D</a>):Boolean</code><p></p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">plane</span>:<a href="Plane3D.html">Plane3D</a></code></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code></td>
</tr>
</table>
</div>
<a name="isCoplanarOpposite()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">isCoplanarOpposite</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function isCoplanarOpposite(plane:<a href="Plane3D.html">Plane3D</a>):Boolean</code><p></p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">plane</span>:<a href="Plane3D.html">Plane3D</a></code></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code></td>
</tr>
</table>
</div>
<a name="normalize()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">normalize</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function normalize():void</code><p>
   normalize.
   
   </p></div>
<a name="pointOnSide()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">pointOnSide</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function pointOnSide(num:<a href="Number3D.html">Number3D</a>):int</code><p>
   Gets the side a vertex is on.
   </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">num</span>:<a href="Number3D.html">Number3D</a></code></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>int</code></td>
</tr>
</table>
</div>
<a name="projectPoints()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">projectPoints</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function projectPoints(points:Array, origin:<a href="Number3D.html">Number3D</a> = null):void</code><p>
   Projects points onto this plane. 
   </p><p>Passed points should be in the XY-plane. If the points have Z=0 then the points are
   projected exactly on the plane. When however Z is greater then zero, the points are
   moved 'out of the plane' by a distance Z. Negative values for Z move the points 'into the plane'.</p>
      <span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">points</span>:Array</code> &mdash; Array of points (any object with x, y, z props).
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">origin</span>:<a href="Number3D.html">Number3D</a></code> (default = <code>null</code>)<code></code> &mdash; Where to move the points.
   </td>
</tr>
</table>
</div>
<a name="setCoefficients()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setCoefficients</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setCoefficients(a:Number, b:Number, c:Number, d:Number):void</code><p>
   Sets this plane from ABCD coefficients.
      </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">a</span>:Number</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">b</span>:Number</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">c</span>:Number</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">d</span>:Number</code></td>
</tr>
</table>
</div>
<a name="setNormalAndPoint()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setNormalAndPoint</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setNormalAndPoint(normal:<a href="Number3D.html">Number3D</a>, pt:<a href="Number3D.html">Number3D</a>):void</code><p>
   Sets this plane from a normal and a point.
      </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">normal</span>:<a href="Number3D.html">Number3D</a></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">pt</span>:<a href="Number3D.html">Number3D</a></code></td>
</tr>
</table>
</div>
<a name="setThreePoints()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setThreePoints</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setThreePoints(p0:<a href="Number3D.html">Number3D</a>, p1:<a href="Number3D.html">Number3D</a>, p2:<a href="Number3D.html">Number3D</a>):void</code><p>
   Sets this plane from three points.
      </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">p0</span>:<a href="Number3D.html">Number3D</a></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">p1</span>:<a href="Number3D.html">Number3D</a></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">p2</span>:<a href="Number3D.html">Number3D</a></code></td>
</tr>
</table>
</div>
<a name="toString()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">toString</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function toString():String</code>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code></td>
</tr>
</table>
</div>
<a name="vertDistance()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">vertDistance</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function vertDistance(pt:<a href="../geom/renderables/Vertex3D.html">Vertex3D</a>):Number</code><p>
   distance of vertex to plane, optimized.
   
   </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">pt</span>:<a href="../geom/renderables/Vertex3D.html">Vertex3D</a></code></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Number</code></td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">http://blog.papervision3d.org</center>
</div>
</body>
</html>
<!--http://blog.papervision3d.org-->
